﻿using iMES.Basedata.IRepository;
using iMES.Basedata.IRepository.Basicdata;
using iMES.Basedata.IServices;
using iMES.Basedata.IServices;
using iMES.Core.BaseProvider;
using iMES.Core.Extensions.AutofacManager;
using iMES.Entity.DomainModels;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Text;

namespace iMES.Basedata.Services
{
    public partial class Basicdata_UnitmService
    {


        private readonly IHttpContextAccessor _httpContextAccessor;
        private readonly IBasicdata_UnitmRepository _repository;//访问数据库


        [ActivatorUtilitiesConstructor]
        public Basicdata_UnitmService(
           IBasicdata_UnitmRepository dbRepository,
           IHttpContextAccessor httpContextAccessor
           )
       : base(dbRepository)
        {
            _httpContextAccessor = httpContextAccessor;
            _repository = dbRepository;
            //多租户会用到这init代码，其他情况可以不用
            //base.Init(dbRepository);
        }


    }
}
